#TEMPLATE = app
#CONFIG -= app_bundle
#CONFIG += qt
#QT += core

CONFIG += console

#QT dependences
QT += network

SOURCES += main.cpp \
    botui.cpp \
    bot.cpp \
    botcommunicator.cpp \
    botserver.cpp \
    botwtui.cpp \
    botwtglwidget.cpp

HEADERS += \
    bot.h \
    botui.h \
    botcommunicator.h \
    botserver.h \
    botwtui.h \
    FEM/node.h \
    FEM/element.h \
    FEM/domain.h \
    FEM/CONTAINERS/tree.h \
    TESTS/utilities_for_tests.h \
    TESTS/test_node.h \
    TESTS/test_element.h \
    TESTS/test_tree.h \
    TESTS/test_matrix.h \
    FEM/SOLVERS/conjugategradientsolver.h \
    FEM/SOLVERS/abstractsolver.h \
    FEM/CONTAINERS/simplematrix.h \
    FEM/CONTAINERS/abstractmatrix.h \
    FEM/CONTAINERS/framedmatrix.h \
    FEM/CONTAINERS/sparsematrix.h \
    logger.h \
    CLKERNEL/openclmanager.h \
    globalargs.h \
    CLKERNEL/clsources.h \
    botwtglwidget.h

#INTEL OpenCL
INCLUDEPATH += $$PWD/../../../OpenCL/Intel/include
LIBS += -L$$PWD/../../../OpenCL/Intel/lib/x86/ -lOpenCL

#AMD OpenCL
LIBS += -L$$PWD/../../../OpenCL/AMD/lib/x86/ -lOpenCL

#Wt Web ToolKit
CONFIG      += no_keywords # so Qt won't #define any non-all-caps 'keywords'
INCLUDEPATH += E:\Wt\Wt_3.3.0_boost_1.54.0_mingw_4.8.0_x32\include\
INCLUDEPATH += E:\Boost\boost_1_54_0
LIBS += E:\Wt\Wt_3.3.0_boost_1.54.0_mingw_4.8.0_x32\lib\libwt.a
LIBS += E:\Wt\Wt_3.3.0_boost_1.54.0_mingw_4.8.0_x32\lib\libwthttp.a
LIBS += E:\Boost\boost_1_54_0\lib\libboost_signals-mgw48-mt-1_54.a
LIBS += E:\Boost\boost_1_54_0\lib\libboost_system-mgw48-mt-1_54.a
LIBS += E:\Boost\boost_1_54_0\lib\libboost_thread-mgw48-mt-1_54.a
LIBS += E:\Boost\boost_1_54_0\lib\libboost_filesystem-mgw48-mt-1_54.a
LIBS += E:\Boost\boost_1_54_0\lib\libboost_regex-mgw48-mt-1_54.a
LIBS += E:\Boost\boost_1_54_0\lib\libboost_random-mgw48-mt-1_54.a
LIBS += E:\Boost\boost_1_54_0\lib\libboost_program_options-mgw48-mt-1_54.a
LIBS += E:\Boost\boost_1_54_0\lib\libboost_date_time-mgw48-mt-1_54.a
LIBS += -lws2_32
LIBS += -lwsock32

#ViennaCL
INCLUDEPATH += E:\ViennaCL-1.4.2\

#Flags
QMAKE_LFLAGS += -static
QMAKE_LFLAGS += -static-libgcc
QMAKE_LFLAGS += -static-libstdc++
QMAKE_CXXFLAGS += -std=c++0x

OTHER_FILES +=
